From: Richard M. Stallman Date: Sun, 27 May 2007 23:18:08 +0000 (+0000) Subject: (log-edit-changelog-paragraph): Return point-max as the end of the X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18855^2~2179 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3d200243c3c7ddad8df941424a8f676dd81254b6;p=emacs.git (log-edit-changelog-paragraph): Return point-max as the end of the ChangeLog paragraph when it ends without a line termination. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0e6c3298638..c6675a06b9b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2007-05-27 Tetsurou Okazaki (tiny change) + + * log-edit.el (log-edit-changelog-paragraph): Return point-max + as the end of the ChangeLog paragraph when it ends without a line + termination. + 2007-05-25 Stefan Monnier * textmodes/fill.el (canonically-space-region): Make the second arg diff --git a/lisp/log-edit.el b/lisp/log-edit.el index ed0a5c464e9..8f63635ee49 100644 --- a/lisp/log-edit.el +++ b/lisp/log-edit.el @@ -538,7 +538,7 @@ If we are between paragraphs, return the previous paragraph." (point)) (if (re-search-forward "^[ \t\n]*$" nil t) (match-beginning 0) - (point))))) + (point-max))))) (defun log-edit-changelog-subparagraph () "Return the bounds of the ChangeLog subparagraph containing point.